import Vue from 'vue'
import Router from 'vue-router'
import pdfcj from "../components/pdfcj";
import pdf from "../components/pdf";
import test from "../components/test";
import fileup from '../components/fileup'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/pdfview',
      name: 'Home',
      component: pdf
    },
    {
      path: '/pdfview/view',
      name: 'View',
      component: pdfcj
    },
    {
      path:'/pdfview/test',
      name:'Test',
      component:test
    },
    {
      path:'/pdfview/upload',
      name:'Upload',
      component:fileup
    }
  ],
  mode:'history'
})
